<?php /* Smarty version 2.6.26, created on 2014-06-13 11:33:30
         compiled from C:/wamp/www/360/index/Tpl/Index/index.html */ ?>
	<!-- //幻灯片 -->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./header_big.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div class="banner">
	<div class="banimg">
		<div class="b1 img">
		
		</div>
		<div class="b2 img">
			
		</div>
		<div class="b3 img">
			
		</div>
	</div>
	
	<ul>
		<li></li>
		<li></li>
		<li></li>

	</ul>
</div>
<!-- 问答区域，INDEX区域 -->
<div class="Index Swd">
<!-- 标题他们正在等您的帮助 -->
	<div class="waitting"></div>
	<!-- 左边的菜单区域 -->
	<div class="menuL FL">
		<p class="MenuTitle"><u></u>擅长领域</p>
		<p class="Allquestion"><u></u>全部问题</p>
		<div class="qustList">
			<ul class="qustFather">
			<?php $_from = $this->_tpl_vars['Left_menu']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
				<li class="LIfather">
					<p class="ListTitle"><u></u><a href="index.php?m=url&cid=<?php echo $this->_tpl_vars['v']['cid']; ?>
&judge=solve=0"><?php echo $this->_tpl_vars['v']['title']; ?>
</a></p>
					<div class="listdouble">
					<?php $_from = $this->_tpl_vars['v']['down']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k2'] => $this->_tpl_vars['v2']):
?>
					<dl>
						<dt><a href="index.php?m=url&cid=<?php echo $this->_tpl_vars['v']['cid']; ?>
&judge=solve=0"><?php echo $this->_tpl_vars['v2']['title']; ?>
</a></dt>
					<!-- 	<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt> -->	
					</dl>
					<?php endforeach; endif; unset($_from); ?>
					<!-- <dl>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>	
					</dl>
					<dl>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>	
					</dl> -->
						
					</div>
				</li>
				<?php endforeach; endif; unset($_from); ?>
			<!-- 	<li class="LIfather">
					<p class="ListTitle"><u></u>电脑网络</p>
					<div class="listdouble">
					<dl>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>	
					</dl>
					<dl>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>	
					</dl>
					<dl>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>
						<dt><a href="">联网</a></dt>	
					</dl>
						
					</div>
				</li>
	
						
					</div>
				</li> -->
			</ul>
			
		</div>
	</div>
	<div class="MiddleContent FL">
		<div class="ContentTilte">
			<p class="tags">
			believe self and do i best. Just do it.doesn't matter success or not!
															
			</p>
			<p class="name">---From Jerry</p>
		</div>
		<div class="tabArea">
			<ul class="needle">
				<li><a href="index.php?c=index">待解决</a></li>
				<li><a href="javascript:;javascript:;">高悬赏</a></li>
				<li><a href="javascript:;">零回答</a></li>
			</ul>
			<div class="tabList">
				<div class="list1 changeList">
				<?php unset($this->_sections['n1']);
$this->_sections['n1']['loop'] = is_array($_loop=$this->_tpl_vars['ask']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n1']['name'] = 'n1';
$this->_sections['n1']['max'] = (int)10;
$this->_sections['n1']['show'] = true;
if ($this->_sections['n1']['max'] < 0)
    $this->_sections['n1']['max'] = $this->_sections['n1']['loop'];
$this->_sections['n1']['step'] = 1;
$this->_sections['n1']['start'] = $this->_sections['n1']['step'] > 0 ? 0 : $this->_sections['n1']['loop']-1;
if ($this->_sections['n1']['show']) {
    $this->_sections['n1']['total'] = min(ceil(($this->_sections['n1']['step'] > 0 ? $this->_sections['n1']['loop'] - $this->_sections['n1']['start'] : $this->_sections['n1']['start']+1)/abs($this->_sections['n1']['step'])), $this->_sections['n1']['max']);
    if ($this->_sections['n1']['total'] == 0)
        $this->_sections['n1']['show'] = false;
} else
    $this->_sections['n1']['total'] = 0;
if ($this->_sections['n1']['show']):

            for ($this->_sections['n1']['index'] = $this->_sections['n1']['start'], $this->_sections['n1']['iteration'] = 1;
                 $this->_sections['n1']['iteration'] <= $this->_sections['n1']['total'];
                 $this->_sections['n1']['index'] += $this->_sections['n1']['step'], $this->_sections['n1']['iteration']++):
$this->_sections['n1']['rownum'] = $this->_sections['n1']['iteration'];
$this->_sections['n1']['index_prev'] = $this->_sections['n1']['index'] - $this->_sections['n1']['step'];
$this->_sections['n1']['index_next'] = $this->_sections['n1']['index'] + $this->_sections['n1']['step'];
$this->_sections['n1']['first']      = ($this->_sections['n1']['iteration'] == 1);
$this->_sections['n1']['last']       = ($this->_sections['n1']['iteration'] == $this->_sections['n1']['total']);
?>
				
					<dl>
						<dd>
							<img src="<?php echo @__PUBLIC__; ?>
//images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="conTent" ><a href=""><?php echo $this->_tpl_vars['ask'][$this->_sections['n1']['index']]['content']; ?>
</a></p>
							<p class="anserquestions" id="answerquerstion"><a href="index.php?c=Show&asid=<?php echo $this->_tpl_vars['ask'][$this->_sections['n1']['index']]['asid']; ?>
">回答</a></p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl>
					<?php endfor; endif; ?>
					<!-- <dl>
						<dd>
							<img src="<?php echo @__PUBLIC__; ?>
//images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="conTent">你在办公室做什么？</p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl> -->
				</div>
				<div class="list2 changeList">
					<?php unset($this->_sections['n2']);
$this->_sections['n2']['loop'] = is_array($_loop=$this->_tpl_vars['money']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n2']['name'] = 'n2';
$this->_sections['n2']['max'] = (int)10;
$this->_sections['n2']['show'] = true;
if ($this->_sections['n2']['max'] < 0)
    $this->_sections['n2']['max'] = $this->_sections['n2']['loop'];
$this->_sections['n2']['step'] = 1;
$this->_sections['n2']['start'] = $this->_sections['n2']['step'] > 0 ? 0 : $this->_sections['n2']['loop']-1;
if ($this->_sections['n2']['show']) {
    $this->_sections['n2']['total'] = min(ceil(($this->_sections['n2']['step'] > 0 ? $this->_sections['n2']['loop'] - $this->_sections['n2']['start'] : $this->_sections['n2']['start']+1)/abs($this->_sections['n2']['step'])), $this->_sections['n2']['max']);
    if ($this->_sections['n2']['total'] == 0)
        $this->_sections['n2']['show'] = false;
} else
    $this->_sections['n2']['total'] = 0;
if ($this->_sections['n2']['show']):

            for ($this->_sections['n2']['index'] = $this->_sections['n2']['start'], $this->_sections['n2']['iteration'] = 1;
                 $this->_sections['n2']['iteration'] <= $this->_sections['n2']['total'];
                 $this->_sections['n2']['index'] += $this->_sections['n2']['step'], $this->_sections['n2']['iteration']++):
$this->_sections['n2']['rownum'] = $this->_sections['n2']['iteration'];
$this->_sections['n2']['index_prev'] = $this->_sections['n2']['index'] - $this->_sections['n2']['step'];
$this->_sections['n2']['index_next'] = $this->_sections['n2']['index'] + $this->_sections['n2']['step'];
$this->_sections['n2']['first']      = ($this->_sections['n2']['iteration'] == 1);
$this->_sections['n2']['last']       = ($this->_sections['n2']['iteration'] == $this->_sections['n2']['total']);
?>
					<dl>
						<dd>
							<img src="<?php echo @__PUBLIC__; ?>
//images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="score"><u></u><?php echo $this->_tpl_vars['money'][$this->_sections['n2']['index']]['reward']; ?>
</p>
							<p class="conTent"><a href=""><?php echo $this->_tpl_vars['money'][$this->_sections['n2']['index']]['content']; ?>
</a></p>
							<p class="anserquestions" id="answerquerstion2"><a href="index.php?c=Show&asid=<?php echo $this->_tpl_vars['money'][$this->_sections['n2']['index']]['asid']; ?>
">回答</a></p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl>
					<?php endfor; endif; ?>
					<!-- <dl>
						<dd>
							<img src="./images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="score"><u></u>22</p>
							<p class="conTent">你在办公室做什么？</p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl> -->
				</div>
				<div class="list3 changeList">
					<?php unset($this->_sections['n3']);
$this->_sections['n3']['loop'] = is_array($_loop=$this->_tpl_vars['zero_answer']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n3']['name'] = 'n3';
$this->_sections['n3']['max'] = (int)10;
$this->_sections['n3']['show'] = true;
if ($this->_sections['n3']['max'] < 0)
    $this->_sections['n3']['max'] = $this->_sections['n3']['loop'];
$this->_sections['n3']['step'] = 1;
$this->_sections['n3']['start'] = $this->_sections['n3']['step'] > 0 ? 0 : $this->_sections['n3']['loop']-1;
if ($this->_sections['n3']['show']) {
    $this->_sections['n3']['total'] = min(ceil(($this->_sections['n3']['step'] > 0 ? $this->_sections['n3']['loop'] - $this->_sections['n3']['start'] : $this->_sections['n3']['start']+1)/abs($this->_sections['n3']['step'])), $this->_sections['n3']['max']);
    if ($this->_sections['n3']['total'] == 0)
        $this->_sections['n3']['show'] = false;
} else
    $this->_sections['n3']['total'] = 0;
if ($this->_sections['n3']['show']):

            for ($this->_sections['n3']['index'] = $this->_sections['n3']['start'], $this->_sections['n3']['iteration'] = 1;
                 $this->_sections['n3']['iteration'] <= $this->_sections['n3']['total'];
                 $this->_sections['n3']['index'] += $this->_sections['n3']['step'], $this->_sections['n3']['iteration']++):
$this->_sections['n3']['rownum'] = $this->_sections['n3']['iteration'];
$this->_sections['n3']['index_prev'] = $this->_sections['n3']['index'] - $this->_sections['n3']['step'];
$this->_sections['n3']['index_next'] = $this->_sections['n3']['index'] + $this->_sections['n3']['step'];
$this->_sections['n3']['first']      = ($this->_sections['n3']['iteration'] == 1);
$this->_sections['n3']['last']       = ($this->_sections['n3']['iteration'] == $this->_sections['n3']['total']);
?>
					<dl>
						<dd>
							<img src="<?php echo @__PUBLIC__; ?>
/images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="score"><u></u><?php echo $this->_tpl_vars['zero_answer'][$this->_sections['n3']['index']]['reward']; ?>
</p>
							<p class="conTent"><a href=""><?php echo $this->_tpl_vars['zero_answer'][$this->_sections['n3']['index']]['content']; ?>
</a></p>
							<p class="anserquestions" id="answerquerstion3"><a href="index.php?c=Show&asid=<?php echo $this->_tpl_vars['zero_answer'][$this->_sections['n3']['index']]['asid']; ?>
">回答</a></p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl>
					<?php endfor; endif; ?>
					<!-- <dl>
						<dd>
							<img src="./images/picico.png" alt="" />
							<p class="ask">问：</p>
							<p class="conTent">你在办公室做什么？</p>
							<p class="answer"><span>0回答</span><span>2分钟前</span></p>
							
						</dd>
					</dl> -->
				</div>
			</div>
			
		</div>
	</div>
	<div class="RightNews FR">
		<dl class="questionNews">
			<dt>
				问答新鲜事
			</dt>
			<dd>
				<ul>
				<?php unset($this->_sections['n4']);
$this->_sections['n4']['loop'] = is_array($_loop=$this->_tpl_vars['allask']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['n4']['name'] = 'n4';
$this->_sections['n4']['max'] = (int)5;
$this->_sections['n4']['show'] = true;
if ($this->_sections['n4']['max'] < 0)
    $this->_sections['n4']['max'] = $this->_sections['n4']['loop'];
$this->_sections['n4']['step'] = 1;
$this->_sections['n4']['start'] = $this->_sections['n4']['step'] > 0 ? 0 : $this->_sections['n4']['loop']-1;
if ($this->_sections['n4']['show']) {
    $this->_sections['n4']['total'] = min(ceil(($this->_sections['n4']['step'] > 0 ? $this->_sections['n4']['loop'] - $this->_sections['n4']['start'] : $this->_sections['n4']['start']+1)/abs($this->_sections['n4']['step'])), $this->_sections['n4']['max']);
    if ($this->_sections['n4']['total'] == 0)
        $this->_sections['n4']['show'] = false;
} else
    $this->_sections['n4']['total'] = 0;
if ($this->_sections['n4']['show']):

            for ($this->_sections['n4']['index'] = $this->_sections['n4']['start'], $this->_sections['n4']['iteration'] = 1;
                 $this->_sections['n4']['iteration'] <= $this->_sections['n4']['total'];
                 $this->_sections['n4']['index'] += $this->_sections['n4']['step'], $this->_sections['n4']['iteration']++):
$this->_sections['n4']['rownum'] = $this->_sections['n4']['iteration'];
$this->_sections['n4']['index_prev'] = $this->_sections['n4']['index'] - $this->_sections['n4']['step'];
$this->_sections['n4']['index_next'] = $this->_sections['n4']['index'] + $this->_sections['n4']['step'];
$this->_sections['n4']['first']      = ($this->_sections['n4']['iteration'] == 1);
$this->_sections['n4']['last']       = ($this->_sections['n4']['iteration'] == $this->_sections['n4']['total']);
?>
					<li><a href=""><?php echo $this->_tpl_vars['allask'][$this->_sections['n4']['index']]['content']; ?>
</a></li>
					
				
					<!-- <li><a href=""> 端午抢楼晒勋章活动获奖名单公布！</a></li>
					<li><a href=""> 端午抢楼晒勋章活动获奖名单公布！</a></li> -->
					<?php endfor; endif; ?>
					<!-- <li><a href=""> 端午抢楼晒勋章活动获奖名单公布！</a></li> -->
				</ul>
			</dd>
		</dl>
		<dl class="whoHelp">
			<dt>
				今日助人光荣榜
			</dt>
			<dd>
				<ul>
					<li> 用户名</li>
					<li> 回答数</li>
					<li> 采纳率</li>
				</ul>
				<div class="cleardiv"></div>
				<ul>
					<li><a href=""> 镇痛剂</a></li>
					<li><a href=""> 194</a></li>
					<li><a href=""> 93%</a></li>
				</ul>
			</dd>
		</dl>
	</div>
	<div class="cleardiv"></div>
	<!-- 达人区域 -->
<div class="supermanArea Swd">
		<div class="supTtile"></div>
		<div class="people FL">
			<ul>
				<?php $_from = $this->_tpl_vars['moreansweruser']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['khoner'] => $this->_tpl_vars['vhoner']):
?>
				<li class="FL">
				<?php if ($this->_tpl_vars['vhoner']['face'] == ''): ?>
					<img src="<?php echo $this->_tpl_vars['icodefault']; ?>
" alt="" />
					<?php else: ?>
					<img src="<?php echo $this->_tpl_vars['vhoner']['face']; ?>
" alt="" />
					<?php endif; ?>
					<p class="name"><?php echo $this->_tpl_vars['vhoner']['username']; ?>
</p>
					<p class="bestarear">星座占卜 </p>
					<p class="numandpoint"><span class="num"></span><?php echo $this->_tpl_vars['vhoner']['answer']; ?>
 <span class="point"></span><?php echo $this->_tpl_vars['vhoner']['exp']; ?>
</p>
					<p class="daren"><a href="">向达人提问</a></p>
				</li>
				<?php endforeach; endif; unset($_from); ?>
			</ul>
			
		</div>
		<div class="honer FR">
			<div class='star-list'>
			<p class='title'>后盾问答助人光荣榜</p>
			<div>
				<div class="cleardiv"></div>
				<ul class='ul-list'>
					<li>
						<a href=""><i class='rank r1'></i>houdunwang.com</a>
						<span>100</span>
					</li>
					<li>
						<a href=""><i class='rank r2'></i>houdunwang.com</a>
						<span>100</span>
					</li>
					<li>
						<a href=""><i class='rank r3'></i>houdunwang.com</a>
						<span>100</span>
					</li>				
				</ul>
			</div>
	</div>
		</div>
	</div>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "./footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>